package wsn;

import inet.networklayer.autorouting.ipv4.IPv4NetworkConfigurator;
import inet.world.radio.IdealChannelModel;

import wsn.node.*;

network Example
{
    submodules:
        channelControl: IdealChannelModel {
            @display("p=53,32");
        }
        baseStation: BaseStation{
            @display("p=50, 250;is=vl");
        }
        s1: Sensor {
            @display("p=200,100;is=s");
        }
        s2: Sensor {
            @display("p=200,250;is=s");
        }
        s3: Sensor{
            @display("p=200,400;is=s");
        }
        s4: Sensor{
            @display("p=350,100;is=s");
        }
        s5: Sensor{
            @display("p=350,250;is=s");
        }
        s6: Sensor{
            @display("p=350,400;is=s");
        }
        s7: Sensor{
            @display("p=500,100;is=s");
        }
        s8: Sensor{
            @display("p=500,250;is=s");
        }
        s9: Sensor{
            @display("p=500,400;is=s");
        }
        configurator: IPv4NetworkConfigurator {
            parameters:
                @display("p=187,34");
        }


    connections allowunconnected:
}